package com.xbongbong.paas.domain.dao;

import com.xbongbong.paas.domain.entity.StageWorkLogEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Auther: yingjianfeng
 * @Date: 2021/11/16 14:56
 * @Description:
 */
@Repository
@Mapper
public interface StageWorkLogDao {
    /**
     * description: 通用insert
     * date: 2021/11/16 1:44 下午
     * @Author yingjf
     */
    Integer insert(StageWorkLogEntity entity);

    /**
     * description: 通用update
     * date: 2021/11/16 1:44 下午
     * @Author yingjf
     */
    Integer update(StageWorkLogEntity entity);

    /**
     * description: 通用find
     * date: 2021/11/16 1:44 下午
     * @Author yingjf
     */
    List findEntitys(@Param("param")Map<String, Object> param) ;

    /**
     * description: 通用获取条数
     * date: 2021/11/16 1:44 下午
     * @Author yingjf
     */
    Integer getEntitysCount(@Param("param")Map<String, Object> param);
}
